/* App.css */
html {
  background-color: #cbe6f8;
}

* {
  margin: 0;
  padding: 0;
}

.body {
  padding: 20px;
  padding-top: 0;
}

.download-page {
  max-width: 600px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.title {
  text-align: center;
  font-size: 20px;
  line-height: 50px;
  color: #575757;
  background-color: rgba(255, 255, 255, 0.3);
  margin-bottom: 30px;
}

.download-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-content {
  position: relative;
  margin-bottom: 15px;
  *zoom: 1;
}

.card-content:after {
  content: "";
  display: table;
  clear: both;
}

.icon {
  width: 89px;
  height: 89px;
  border-radius: 10px;
  margin-right: 15px;
  font-weight: bold;
  float: left;
}

.icon img {
  width: 100%;
  vertical-align: middle;
}

.text-content {
  margin-left: 104px; /* icon width + margin-right */
}

.text-content h2 {
  font-size: 18px;
  margin: 0 0 5px 0;
}

.text-content p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.download-button {
  width: 100%;
  background: #3b90f0;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  text-align: center;
  position: relative;
  box-sizing: border-box;
}

.download-button img {
  height: 1em;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.arrow {
  margin-right: 8px;
  display: inline-block;
}

.footer-text {
  text-align: center;
  font-size: 12px;
  color: #757575;
  margin-top: 30px;
  line-height: 1.5;
  position: fixed;
  bottom: 20px;
  left: 50%;
  /* margin-left: -50%; */
  transform: translateX(-50%);
  width: 100vw;
}

/* Modal styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  z-index: 1000;
}

.modal-overlay:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.modal-content {
  background: white;
  padding: 15px;
  border-radius: 12px;
  width: 60%;
  text-align: center;
  display: inline-block;
  vertical-align: middle;
}

.modal-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  text-align: center;
  color: white;
  font-size: 24px;
  line-height: 100px;
}

.modal-icon img {
  width: 100%;
}

.modal-title {
  font-size: 22px;
  margin: 0 0 10px;
}

.modal-description {
  color: #666;
  margin: 0 0 20px;
  font-size: 14px;
  white-space: nowrap;
}

.modal-buttons {
  text-align: center;
  margin: 0 -6px;
}

.modal-button {
  display: inline-block;
  width: calc(50% - 12px);
  padding: 12px;
  border-radius: 6px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  margin: 0 6px;
  box-sizing: border-box;
}

.modal-button.cancel {
  background: #f5f5f5;
  color: #333;
}

.modal-button.install {
  background: #4A90E2;
  color: white;
}

.modal-button.confirm {
  background: #4A90E2;
  color: white;
  width: calc(100% - 12px);
  margin-top: 10px;
}

.modal-button:hover {
  opacity: 0.9;
}
